package com.erp.freight.service;

import com.erp.freight.domain.bo.ErpKjxOrderInfoBo;
import com.erp.freight.domain.vo.ErpKjxOrderInfoVo;
import com.ruoyi.common.core.domain.PageQuery;
import com.ruoyi.common.core.web.oldPage.TableDataInfo;

import java.util.Collection;
import java.util.List;

/**
 * 熊迪订单状态Service接口
 *
 * @author erp
 * @date 2023-12-04
 */
public interface IErpKjxOrderInfoService {

    /**
     * 查询熊迪订单状态
     */
    ErpKjxOrderInfoVo queryById(Long id);

    /**
     * 查询熊迪订单状态列表
     */
    TableDataInfo<ErpKjxOrderInfoVo> queryPageList(ErpKjxOrderInfoBo bo, PageQuery pageQuery);

    /**
     * 查询熊迪订单状态列表
     */
    List<ErpKjxOrderInfoVo> queryList(ErpKjxOrderInfoBo bo);

    /**
     * 新增熊迪订单状态
     */
    Boolean insertByBo(ErpKjxOrderInfoBo bo);

    /**
     * 修改熊迪订单状态
     */
    Boolean updateByBo(ErpKjxOrderInfoBo bo);

    /**
     * 校验并批量删除熊迪订单状态信息
     */
    Boolean deleteWithValidByIds(Collection<Long> ids, Boolean isValid);
}
